cc.Class({
    extends: cc.Component,

    properties: {
        labCoin:cc.Label,
    },

    init(num){
        this.labCoin.string = '+' + G.bignumber.toUnitType(num);
        let action = cc.sequence(
            cc.moveBy(1,0,80),
            cc.callFunc(()=>{
                G.utils.putPoolNode('nodePoolCoin',this.node);
            })
        )
        this.node.runAction(action);
    },

});
